export default{
  data(){
    return {

    }
  },
  methods:{
    callbackMessage(message='网路错误', type='warning', duration=2000, callback){
      this.$message({
        showClose:false,
        message,
        type,
        duration,
        onClose:()=>{
          callback&&callback()
        }
      })
    }
  }
}